//
//  STTools_UserManger.h
//  GodHorses
//
//  Created by coder on 2017/11/25.
//  Copyright © 2017年 stoneobs@icloud.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "THUserModel.h"

@interface STTools_UserManger : NSObject
@property(nonatomic, strong) NSString                     *qnToken;/**< 七牛token */
@property(nonatomic, strong) NSString                     *qNhead;/**< 七牛前缀 */

+ (STTools_UserManger*)defult;
- (THUserModel*)stoneobs_fun_get_loginedUser;
- (THUserModel*)stoneobs_fun_get_tempUser;
- (void)stoneobs_fun_updateUserModel:(THUserModel*)userModel;
- (void)stoneobs_fun_update_tempUserModel:(THUserModel*)userModel;
//删除用户信息
- (void)stoneobs_fun_removeUserPreferce;
- (void)stoneobs_fun_updateAccount:(NSString*)account pwd:(NSString*)pwd;
- (NSString*)account;
- (NSString*)pwd;

- (void)stoneobs_fun_gerQnInfoRequestWithToken:(NSString*)token;
@end
